package cn.poco.pepsi.util;

import java.util.HashMap;
import java.util.Map;



public class UrlMatchUtil {
	
	public static String matchUrl(String path){
		StringBuilder pathBuilder = null;
		path=path.replace("http://img-m.poco.cn/", "");
		if(Cons.WIFI_CONNECT){
			pathBuilder = new StringBuilder("http://img-wifi.poco.cn/");
		}else{
			pathBuilder = new StringBuilder("http://img-m.poco.cn/");
		}
		pathBuilder.append(path);
		return pathBuilder.toString();
	}
}
